<?php

/**
 * @author hungnq@younetco.com
 */
class Tab_Form_Vote extends YouNet_Form
{

	public function init()
	{
		$this->setMethod('post');
		$this->setAction('/Tab/index/vote');
		
		$this->addElement('hidden', 'id_entry', array(
			'decorators' => array('ViewHelper'),
		));

		$this->addElement('submit', 'crop', array(
			'label' => $this->getTranslator()->_('LABEL_VOTE'),
			'class' => 'sm_button green',
			'decorators' => array('ViewHelper')
		));
	}

}